Automattic\Jetpack\Connection\Manager D

Total Complexity 315
Dependencies 34
Dependents 119
Total lines 2,694
Lines of code 1,336
Logical lines of code 665
Comment lines 1,004
Methods 85
Properties 9

Methods 85

Method Rating Maintainability Complexity Lines of code
internal_verify_xml_rpc_signature()
D
29 31 118
register()
B
31 17 120
validate_remote_register_response()
A
41 13 59
authorize()
A
42 12 50
setup_xmlrpc_handlers()
A
46 12 38
is_usable_domain()
A
40 9 75
restore()
A
52 10 26
disconnect_user()
A
51 10 25
refresh_blog_token()
A
45 9 39
get_connected_users()
A
52 10 23
disconnect_site()
A
49 8 30
get_authorization_url()
A
40 6 58
jetpack_connection_custom_caps()
A
54 8 23
get_connection_owner()
S
50 6 30
disconnect_site_wpcom()
S
59 7 14
try_registration()
S
53 6 23
update_connection_owner()
S
48 5 36
get_connected_user_data()
S
53 5 25
delete_all_connection_tokens()
S
54 5 21
configure()
S
47 4 36
authenticate_jetpack()
S
58 5 17
is_connected()
S
59 5 15
get_site_id()
S
59 5 14
add_stats_to_heartbeat()
S
60 5 13
jetpack_get_options()
S
48 3 37
get_assumed_site_creation_date()
S
49 3 33
connect_user()
S
58 4 16
is_ready_for_cleanup()
S
70 4 5
verify_xml_rpc_signature()
S
64 4 10
xmlrpc_options()
S
57 2 17
update_connection_owner_wpcom()
S
59 2 17
__construct()
S
73 3 5
apply_activation_source_to_args()
S
64 3 10
is_user_connected()
S
68 3 7
remove_non_jetpack_xmlrpc_methods()
S
65 3 9
is_site_connection()
S
77 3 3
add_register_request_param()
S
69 3 6
add_connection_status_invalidation_hooks()
S
60 2 14
get_connected_plugins()
S
70 2 7
public_xmlrpc_methods()
S
70 2 6
xmlrpc_methods()
S
74 2 4
require_jetpack_authentication()
S
66 2 8
disconnect_user_force()
S
71 2 6
handle_registration()
S
67 2 7
is_connection_owner()
S
71 2 6
set_min_time_limit()
S
68 2 8
unlink_user_from_wpcom()
S
67 2 8
is_missing_connection_owner()
S
69 2 7
clean_nonces()
S
74 2 4
get_max_execution_time()
S
69 2 7
get_connection_owner_id()
S
74 2 4
alternate_xmlrpc()
S
63 1 11
api_url()
S
63 1 11
refresh_user_token()
S
73 1 5
is_plugin_enabled()
S
82 1 3
enable_plugin()
S
82 1 3
disable_plugin()
S
82 1 3
reset_raw_post_data()
S
81 1 3
get_signed_token()
S
75 1 4
get_plugin()
S
82 1 3
set_plugin_instance()
S
77 1 4
sign_role()
S
79 1 3
reset_saved_auth_state()
S
81 1 3
initialize_rest_api_registration_connector()
S
81 1 3
xmlrpc_api_url()
S
67 1 8
has_connected_user()
S
78 1 3
get_access_token()
S
74 1 4
is_userless()
S
75 1 4
reconnect()
S
73 1 5
generate_secrets()
S
78 1 3
get_secrets()
S
75 1 4
delete_secrets()
S
75 1 4
has_connected_admin()
S
79 1 3
reset_connection_status()
S
80 1 3
remove_connection()
S
76 1 4
is_registered()
S
76 1 4
add_nonce()
S
75 1 4
has_connected_owner()
S
80 1 3
verify_secrets()
S
74 1 4
handle_authorization()
S
91 1 2
get_token()
S
79 1 3
get_tokens()
S
81 1 3
is_active()
S
80 1 3
sha1_base64()
S
79 1 3
validate_tokens()
S
75 1 4